package com.elin4it.ssm.util;

import com.elin4it.ssm.pojo.Userinfo;
import com.elin4it.ssm.service.UserinfoService;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:TY
 * @Descroption:
 * @Date: Created in 22:09 2018/4/6
 * @Modificd By:
 */
public class InitListener implements ServletContextListener {

    public void contextDestroyed(ServletContextEvent context) {

    }

    public void contextInitialized(ServletContextEvent context) {
        // 上下文初始化执行
        System.out.println("================>[ServletContextListener]自动加载启动开始.");
      new TimerTest03();
    }

}